package com.yunsc.product.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.media.entity.YunscUploadFileEntity;
import com.yunsc.product.entity.YunscCommentEntity;
import com.yunsc.product.entity.YunscCommentImageEntity;
import lombok.Data;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-04-21 3:16
 */
@Data
public class GoodsCommentVO extends YunscCommentEntity {

    /**
     * 图片ID
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("imageIds")
    private List<Integer> imageIds;

    /**
     * 图片列表
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("imageList")
    private List<YunscUploadFileEntity> imageList;

    /**
     * 评价图片列表
     */
    @TableField(exist = false)
    private List<YunscCommentImageEntity> images;



    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("orderGoods")
    private CommentOrderGoods orderGoods;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private CommentUser user;



}
